The Elder Scrolls Forums

TES Construction Set and Plugins >> General TES Construction Set

Pages: 1
Cholifut_II
Layman

Reged: 08/20/04
Posts: 3
Loc: The deepest bowls of HELL (Jersy)
Scripting Question
      #2950363 - 08/20/04 08:47 AM

Is it possible to make an object that is an activator that is triggered when you fire on it with a spell or marksmen item? My purpose for this is to make an area where you fight a near undefeatable monster, but you can just hit a rope or pully and the platform it is on will fall into a pool of lava.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Mode_Locrian
Diviner

Reged: 10/07/02
Posts: 2084
Loc: Bjornholm, Rykith Lowlands Region
Re: Scripting Question [Re: Cholifut_II]
      #2950371 - 08/20/04 08:54 AM

No, that won't work, as activators can't detect when they're being hit by a weapon or spell. However, you could make a creature that has the uses the same model as the activator (though you'd have to add dummy animation groups, I think) and make sure that it doesn't move. Then, you could detect when that creature gets hit by a weapon or otherwise damaged.

--------------------
My Website
Bards of Vvardenfell Thread (New Info 8/15/04)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Cholifut_II
Layman

Reged: 08/20/04
Posts: 3
Loc: The deepest bowls of HELL (Jersy)
Re: Scripting Question [Re: Mode_Locrian]
      #2950378 - 08/20/04 08:56 AM

I am sorry but I have no clue how to do those things, is there somewhere else I should look or clould you give me a short explanation?

Post Extras: Print Post   Remind Me!   Notify Moderator  
Cholifut_II
Layman

Reged: 08/20/04
Posts: 3
Loc: The deepest bowls of HELL (Jersy)
Re: Scripting Question [Re: Mode_Locrian]
      #2950379 - 08/20/04 08:56 AM

I am sorry but I have no clue how to do those things, is there somewhere else I should look or could you give me a short explanation?

Post Extras: Print Post   Remind Me!   Notify Moderator  
Archived User Account

Re: Scripting Question [Re: Cholifut_II]
      #2950602 - 08/20/04 10:56 AM

Marksman hits are difficult to pick up at the best of times.

The only reliable ways are, with NPCs and creatures, to use the GetHealthRatio command to see if it is less than 100% healthy.

With statics or activators, I believe you need some imaginative use of messageboxes.

"You see the rope ahead....will you shoot it with your bow, or fire a destruction spell to cut it?" "Shoot it" "Use Magic"

Then, you need to decide how hard it would be to hit the rope....what sort of skill level do you think the Player would need in their chosen discipline? I would think that to hit a rope with an arrow at say 100 ft distance is a pretty fine feat of arms, and I reckon you'd need a high marksman skill.......so you test to see if the Player has a bow equipped, you test to see if they have Line of Sight on the object, and you test whether they have a sufficient marksman skill to hit. For realism you probably need to throw in a little luck element, by comparing their marksman skill against a random number.....

Set Shootskill to ( Player->GetMarksman )
Ste Shootluck to Random 100

If ( shootskill >= shootluck )
rope breaks, monster dies
endif

Then do the same using the player's destruction skill for if they decide to use magic.



Post Extras: Print Post   Remind Me!   Notify Moderator  
der_gevater
Adept

Reged: 04/11/03
Posts: 381
Loc: always just behind ya
Re: Scripting Question [Re: ]
      #2951732 - 08/20/04 05:42 PM

Imo it would be easier to create the NPC rope, with skipanim to
prevent movements, and just check if a certain spelleffect is
working on it.

Just another thought:
How do you make to make sure the rope
isn't just cut with a sword because the player levitated to it?

I think it would be a lot easier if you just test the health and
say at 50% it breaks and the monster dies, no matter how
the damage was achieved by the player.

--------------------
My Homepage
Potion Manager beta7

Post Extras: Print Post   Remind Me!   Notify Moderator  
TheSlof
Curate

Reged: 03/16/04
Posts: 425
Loc: Trollhättan, Sweden
Re: Scripting Question [Re: der_gevater]
      #2958079 - 08/22/04 01:12 PM

Creating a creature shouldn't be to much problems.. You could even make it break on death.. A few (hopefully) simple animations..

--------------------
My tutorials:
Here or here!
||||||

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1


Extra information
0 registered and 2 anonymous users are browsing this forum.

Moderator:  Umrahel, Freddo, Pete, Hungry Donner, Attrebus, Miltiades, tegger 

Print Thread

Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating: ***
Thread views: 100

Rate this thread
 
Jump to

The Elder Scrolls Homepage

*
UBB.threads™ 6.3

Click for Privacy Statement © 2003 Bethesda Softworks LLC, a ZeniMax Media company. All Rights Reserved.
PRIVACY POLICY | TERMS & CONDITIONS | LEGAL INFORMATION | CONTACT US